//package com.LLL.service;
//
//import com.LLL.customer.dao.CustomerDao;
//import com.LLL.customer.model.Customer;
//
//public class CustomerService {
//    /** 根据账号密码返回会员信息 --登录 */
//    public Customer login(String username,String password) {
//        CustomerDao dao= new CustomerDao();
//        Customer customer = dao.getCustomerByName(username);
//        if(customer != null){
//          if(username.equals(customer.getUser_name()) && password.equals(customer.getPassword()) ){
//              return customer;
//          }
//        }
//        return null;
//    }
//}
